/*
 * <p>Copyright® 2009-2022 东软 IT 实训中心版权所有。</p>
 */

package com.max.back.doctor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.max.back.entity.PatientHistory;

import java.util.List;

/**
* @description 
* 
* <p>
* <code>PatientHistoryService</code>
*
* </p>
* 
* @see 
* @author 辛凤文 forward.seen@foxmail.com
* @version 1.0 
* @time 2022/7/19 14:22 
*/
public interface PatientHistoryService extends IService<PatientHistory> {
    List<PatientHistory> queryAll();

    /**
     * 根据病人挂号编号、医生ID创建病历，返回病历ID
     * @param registrationId 挂号编号
     * @return PatientHistoryID
     */
    String createOneAndReturnID(String registrationId );
}